ImagXpress 13 for ActiveX - User Guide > How To > Configure ImagXpress > Enable Cancel |
To enable the application end-user to cancel the loading, decompression, saving, compression, or processing of images, set the CancelMode property to the mouse or key event that will trigger the cancellation. Set CancelLoad to specify whether the cancel can occur while loading and set CancelRemove to indicate whether the event message appears in the message queue.
The Cancel method may also be called. Whenever cancelling is called it is considered a request to cancel. The operation may be to far along to cancel or the operation may have already completed. The application should verify the state of the image after the operation has been requested to be cancelled.